from django.db import models
from django.utils.translation import ugettext_lazy as _
from pagemagic.models import AbstractMenuItemAttrs, AbstractContentAttrs

class MenuItemAttrs(AbstractMenuItemAttrs):
    title = models.CharField(_('menu item title'), max_length=255)

class ContentAttrs(AbstractContentAttrs):
    title = models.CharField(_('page title'), max_length=255, blank=True)
    text = models.TextField(_('text'), blank=True)
    autoformat = models.BooleanField(_('autoformat enabled'), default=True)
